package com.edu.service;

import com.edu.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author mxs
 * @since 2021-11-11
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    /**
     * 登录校验
     * @param member
     * @return 返回token值
     */
    public String login(UcenterMember member);

    /**
     * 根据微信id获取用户
     * @param openId
     * @return
     */
    UcenterMember getMemberByOpenId(String openId);
}
